package com.pqtest.api.mapper;

import com.pqtest.api.entity.TestlibraryEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TestlibraryMapper {
    TestlibraryEntity getNextExam(String now);
    int applySimuTest(@Param("userId") int userId, @Param("libraryId") int libraryId);
    int getIfUserApply(@Param("userId") int userId,@Param("spiritLibraryId") int spiritLibraryId);
}